package com.huzz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Name 名称
 * @Description 描述
 * @Author 童年的纸飞机
 * @Since 2023-04-2023/4/27 08:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(description = "二级认证")
public class SysSecondAuth implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "业务模块标识")
    private String service;

    @ApiModelProperty(value = "二级认证密码")
    private String secondPassword;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "认证有效时长(秒)")
    private int safeTime;

}
